projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1a4dd1
)
xenpm: Fix an error path.
author
Keir Fraser
<keir.fraser@citrix.com>
Fri, 7 Nov 2008 17:00:39 +0000
(17:00 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Fri, 7 Nov 2008 17:00:39 +0000
(17:00 +0000)
Signed-off-by: Jinsong Liu <jinsong.liu@intel.com>
tools/misc/xenpm.c
patch
|
blob
|
history
diff --git
a/tools/misc/xenpm.c
b/tools/misc/xenpm.c
index 618aa27a84a11962f573968f57330627c67057ae..ace72b421635ad36fcecf0aebf5039f9ae478d7b 100644
(file)
--- a/
tools/misc/xenpm.c
+++ b/
tools/misc/xenpm.c
@@
-170,7
+170,7
@@
int main(int argc, char **argv)
if ( !pxstat->pt )
{
fprintf(stderr, "failed to malloc for P-states table\n");
- free(pxstat->pt);
+ free(pxstat->
trans_
pt);
break;
}